import enumCmds from "../../em/enumCmds"
import enumMode from "../../em/enumMode"
import enumMesg from "../../em/enumMesg"
import supMount from "../../sup/supMount";

const { ccclass, property } = cc._decorator;
@ccclass
export default class loginMount extends supMount {
    @property(cc.Sprite)
    private background: cc.Sprite = null; //背景
    @property(cc.Button)
    private buttoneven: cc.Button = null; //按钮
    @property(cc.Label)
    private buttontext: cc.Label = null;  //文字

    onlogin(): void {
        let msgModule: cMessageModule = this.getModule(enumMode.mesgeModule)
        msgModule.sendmail(enumMesg.c2s_loginTourists, [enumCmds.login], {
            accredit: "Carol",
        });
    }
}
